package com.anXin.equipment.service;


import com.anXin.model.equipment.Equipment;
import com.anXin.model.equipment.RateZones;
import org.springframework.beans.factory.annotation.Value;

import java.net.MalformedURLException;
import java.util.Date;
import java.util.Map;

public interface EquipmentService {


    /**
     * fitbit初始化获取第三方token、user_id等
     */
    public void getToken();

    /**
     *获取设备信息
     * @return
     */
    public Equipment getEquipment();

    /**
     * 获取心率区间
     * @param date
     * @return
     */
    public RateZones getRateZones(String date);

    /**
     * 获取BMI
     * @param date
     * @return
     */
    public String getBMI(String date);

    /**
     * 获取体重
     * @param date
     * @return
     */
    public String getWeight(String date);
    /**
     * 获取卡路里
     * @param date
     * @return
     */
    public String getCalories(String date);
    /**
     * 获取楼层
     * @param date
     * @return
     */
    public String getFloors(String date);
    /**
     * 获取步数
     * @param date
     * @return
     */
    public String getSteps(String date);
    /**
     * 获取距离
     * @param date
     * @return
     */
    public String getDistance(String date);
    /**
     * 获取海拔
     * @param date
     * @return
     */
    public String getElevation(String date);

}
